package cn.play.cardgame.constant;

public class Constant {
    public static final int CARD_WIDTH = 36; // 宽度
    public static final int CARD_HEIGHT = 73; // 高度

//	public static final int CARD_WIDTH = 18; // 宽度
//	public static final int CARD_HEIGHT = 36; // 高度

    public static int TURN_MAX = 999; // 最大轮数
    public static int BUREAU_MAX = 100; // 最大局数
    public static int TURN = 0;
    public static int BUREAU = 0;

    public static int PREPARE_MILLISEC = 0;
    public static int MachineRun_MILLISEC = 20 * 1000;
    public static int PLAY_MILLISEC = 0;
    public static int LOTTERY_MILLISEC = 0;
    public static int MAX_BUREAU_LOTTERY_MILLISEC = 0;
    public static int READY_MILLISEC = 0;
    public static int SPACE_MILLISEC = 0;

    public static int POSITION = 1;
    public static int KING_RATIO = 0;

    public static int FOUR_RED_LIMIT = 0;
    public static int KING_RED_LIMIT = 0;
    public static final String AES_KEY = "f695cbaa22634ed6";

    public enum GAMESTATUS {
        GAME_IDLE, GAME_PREPARE, GAME_PLAY, GAME_LOTTERY, GAME_SPACE, GAME_END, GAME_PAUSE
    }

    public static final int EVENT_NOTIFY_CURRENT_MINE_BET = 1000;
    public static final int EVENT_NOTIFY_CAMERA_BOTTOM_STATUS = EVENT_NOTIFY_CURRENT_MINE_BET + 3;
    public static final int EVENT_NOTIFY_BET = EVENT_NOTIFY_CURRENT_MINE_BET + 4;
    public static final int EVENT_NOTIFY_CANCEL_CURRENT_MINE_BET = EVENT_NOTIFY_CURRENT_MINE_BET + 5;
    public static final int EVENT_NOTIFY_CHANGE_BET_STEP = EVENT_NOTIFY_CURRENT_MINE_BET + 6;
    public static final int EVENT_NOTIFY_SHOW_TIPS = EVENT_NOTIFY_CURRENT_MINE_BET + 7;
    public static final int EVENT_NOTIFY_HIDE_TIPS = EVENT_NOTIFY_CURRENT_MINE_BET + 8;
    public static final int EVENT_NOTIFY_SHOW_CODE = EVENT_NOTIFY_CURRENT_MINE_BET + 9;
    //	public static final int EVENT_NOTIFY_HAS_BET = EVENT_NOTIFY_CURRENT_MINE_BET + 10;
    public static final int EVENT_NOTIFY_HAS_REACH_MAX_TURN = EVENT_NOTIFY_CURRENT_MINE_BET + 11;
    public static final int EVENT_NOTIFY_PREPARE_TO_BET = EVENT_NOTIFY_CURRENT_MINE_BET + 12;

    //		public static String BASE_URL = "http://114.55.253.199:82/machine/";
//	public static  String BASE_URL = "http://114.55.253.199:81/game/";
//    public static String BASE_URL = "http://39.108.107.201:82/machine/";//正式云端地址
//    public static String BASE_URL = "http://101.132.133.214:82/machine/";//正式云端地址
//    public static String BASE_URL = "http://116.62.168.185:82/machine/";//正式云端地址
    public static String BASE_URL = "http://120.78.145.124:82/machine/";//正式云端地址
//    public static String BASE_URL = "http://39.108.168.159:82/machine/";//正式云端地址
//    public static String BASE_URL = "http://101.200.41.41:82/machine/";//正式云端地址
    //	public static String BASE_URL = "http://192.168.0.16:8080/game_center/";//正式云端地址
//	public static String BASE_URL = "http://192.168.31.198:8080/game_center/";//正式云端地址
//	public static  String BASE_URL2 = "http://sunfeng.imwork.net/game_center/";
    public static String GET_MACHINESET_BY_ID = BASE_URL + "machineset/getById";
    public static String GET_POKER = BASE_URL + "poker/getPoker";
    //	public static  String GET_POKER = BASE_URL + "poker/machine/getPoker";
    public static String GET_HISTORY = BASE_URL + "poker/getHistory";
    public static String MACHINE_UPDATE_STAKE = BASE_URL + "machine/updateStake";
    public static String CANCEL_STAKE = BASE_URL + "machine/cancelStake";
    public static String ADD_VALUE = BASE_URL + "machine/addValue";
    public static String RETURN_VALUE = BASE_URL + "machine/returnValue";
    public static String GET_MESA_SCORE = BASE_URL + "machine/getMesaScore";
    public static String MACHINE_ID = "0123456789";
//    public static String MACHINE_ID = "0123456789";
    public static String KEY_MACHINE_ID = "machine_id";
}
